﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GraduationProject.Model
{
    public class Novel
    {
        /// <summary>
        /// 文章ID
        /// </summary>
        public int NovelID { get; set; }
        /// <summary>
        /// 景区ID
        /// </summary>
        public int SortType { get; set; }
        /// <summary>
        /// 景区名字
        /// </summary>
        public string SortTypeName { get; set; }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string NovelTitle { get; set; }
        /// <summary>
        /// 文章摘要
        /// </summary>
        public string NovelSummary { get; set; }
        /// <summary>
        /// 文章发布时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 文章发布人
        /// </summary>
        public int CreateUser { get; set; }
        /// <summary>
        /// 文章发布人昵称
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 文章内容
        /// </summary>
        public string NovelBody { get; set; }
        /// <summary>
        /// 是否禁止评论
        /// </summary>
        public bool IsBan { get; set; }
        /// <summary>
        /// 是否由管理员禁止评论
        /// </summary>
        public bool IsAdminBan { get; set; }
        /// <summary>
        /// 点赞数
        /// </summary>
        public int AgreeNum { get; set; }
        /// <summary>
        /// 反对数
        /// </summary>
        public int DisagreeNum { get; set; }
        /// <summary>
        /// 点击量
        /// </summary>
        public int ClickNum { get; set; }
        /// <summary>
        /// 文章置顶
        /// </summary>
        public bool IsTop { get; set; }
        /// <summary>
        /// 是否通过审核
        /// </summary>
        public bool IsReview { get; set; }
    }
}
